^THRio: IMPROVED TUBERCULOSIS SCREENING AND ISONIAZID PREVENTIVE THERAPY TRIAL^

This stepped wedge trial of people enrolled in HIV clinics in Brazil intervened on
two clinics at a time, every two months, until the last of 29 clinics. 

This data set has multiple lines per patient; it was split up to handle the 
time-varying intervention covariate.
 
  ^numunid^   coded number of clinic, which was the unit of randomisation
  ^tb^        0: patient censored on dtfim1 without TB;   1: TB diagnosed on dtfim1
  ^interv^    0: control phase during (dtini1, dtfim1) interval; 1: intervention phase
  ^dtini1^    number of weeks since Sept 1, 2005, that the individual patient entered the risk set
  ^dtfim1^    number of weeks since Sept 1, 2005, that the individual patient exited the risk set
  ^fakeid^    artificial variable tracking a patient's records

Note: results differ slightly from the 0.87 (0.69, 1.10) from the published paper (below); 
those results were from running the equivalent model in R.

^References^

Hayes RJ, Moulton LH. ^Cluster Randomised Trials, 2nd Edition.^  Chapman & Hall/CRC 2017;
Boca Raton, FL.

Durovni, B., Saraceni, V., Moulton, L.H., Pacheco, A.G., Cavalcante, S.C., King, B.S., Cohn, S., 
Efron, A., Chaisson, R.E., Golub, J.E. Effect of Improved Tuberculosis Screening and Isoniazid 
Preventive Therapy on Incidence of Tuberculosis and Death in Patients with HIV in Clinics in 
Rio de Janeiro, Brazil: a Stepped Wedge, Cluster-randomised Trial. 
Lancet Infectious Diseases, 2013. Oct;13(10):852-8.
